import request from '@/utils/request'

// 查询客户报价单列表
export function listScmCustomerQuotes(query) {
  return request({
    url: '/scm/scmCustomerQuotes/list',
    method: 'get',
    params: query
  })
}

// 查询客户报价单详细
export function getScmCustomerQuotes(id) {
  return request({
    url: '/scm/scmCustomerQuotes/' + id,
    method: 'get'
  })
}

// 新增客户报价单
export function addScmCustomerQuotes(data) {
  return request({
    url: '/scm/scmCustomerQuotes',
    method: 'post',
    data: data
  })
}

// 修改客户报价单
export function updateScmCustomerQuotes(data) {
  return request({
    url: '/scm/scmCustomerQuotes',
    method: 'put',
    data: data
  })
}

// 删除客户报价单
export function delScmCustomerQuotes(id) {
  return request({
    url: '/scm/scmCustomerQuotes/' + id,
    method: 'delete'
  })
}
